Optimal. Leaf size=46 \[ \frac{\sin ^{10}(a+b x)}{10 b}-\frac{\sin ^8(a+b x)}{4 b}+\frac{\sin ^6(a+b x)}{6 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0402625, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.176, Rules used = {2564, 266, 43} \[ \frac{\sin ^{10}(a+b x)}{10 b}-\frac{\sin ^8(a+b x)}{4 b}+\frac{\sin ^6(a+b x)}{6 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2564
Rule 266
Rule 43
Rubi steps
\begin{align*} \int \cos ^5(a+b x) \sin ^5(a+b x) \, dx &=\frac{\operatorname{Subst}\left (\int x^5 \left (1-x^2\right )^2 \, dx,x,\sin (a+b x)\right )}{b}\\ &=\frac{\operatorname{Subst}\left (\int (1-x)^2 x^2 \, dx,x,\sin ^2(a+b x)\right )}{2 b}\\ &=\frac{\operatorname{Subst}\left (\int \left (x^2-2 x^3+x^4\right ) \, dx,x,\sin ^2(a+b x)\right )}{2 b}\\ &=\frac{\sin ^6(a+b x)}{6 b}-\frac{\sin ^8(a+b x)}{4 b}+\frac{\sin ^{10}(a+b x)}{10 b}\\ \end{align*}
Mathematica [A] time = 0.0267049, size = 50, normalized size = 1.09 \[ \frac{1}{32} \left (-\frac{5 \cos (2 (a+b x))}{16 b}+\frac{5 \cos (6 (a+b x))}{96 b}-\frac{\cos (10 (a+b x))}{160 b}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 52, normalized size = 1.1 \begin{align*}{\frac{1}{b} \left ( -{\frac{ \left ( \cos \left ( bx+a \right ) \right ) ^{6} \left ( \sin \left ( bx+a \right ) \right ) ^{4}}{10}}-{\frac{ \left ( \cos \left ( bx+a \right ) \right ) ^{6} \left ( \sin \left ( bx+a \right ) \right ) ^{2}}{20}}-{\frac{ \left ( \cos \left ( bx+a \right ) \right ) ^{6}}{60}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.996927, size = 49, normalized size = 1.07 \begin{align*} \frac{6 \, \sin \left (b x + a\right )^{10} - 15 \, \sin \left (b x + a\right )^{8} + 10 \, \sin \left (b x + a\right )^{6}}{60 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.67699, size = 93, normalized size = 2.02 \begin{align*} -\frac{6 \, \cos \left (b x + a\right )^{10} - 15 \, \cos \left (b x + a\right )^{8} + 10 \, \cos \left (b x + a\right )^{6}}{60 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 31.496, size = 63, normalized size = 1.37 \begin{align*} \begin{cases} \frac{\sin ^{10}{\left (a + b x \right )}}{60 b} + \frac{\sin ^{8}{\left (a + b x \right )} \cos ^{2}{\left (a + b x \right )}}{12 b} + \frac{\sin ^{6}{\left (a + b x \right )} \cos ^{4}{\left (a + b x \right )}}{6 b} & \text{for}\: b \neq 0 \\x \sin ^{5}{\left (a \right )} \cos ^{5}{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11881, size = 58, normalized size = 1.26 \begin{align*} -\frac{\cos \left (10 \, b x + 10 \, a\right )}{5120 \, b} + \frac{5 \, \cos \left (6 \, b x + 6 \, a\right )}{3072 \, b} - \frac{5 \, \cos \left (2 \, b x + 2 \, a\right )}{512 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]